package QL;

import java.util.List;
import java.util.ArrayList;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;

public class ButlerAgentWarheadExchangeDay implements IQLResponse
{
    /// <summary>
    /// 弹头数量
    /// </summary>
    public long WarheadCount;

    /// <summary>
    /// 日期
    /// </summary>
    public String DayString;

    @Override
    public void DeserializeFromJson(JSONObject jsonObj)
    {
        JSONObject t = jsonObj;
        if (t.has("warhead_count"))
            WarheadCount = t.getLong("warhead_count");
        if (t.has("day_string"))
            DayString = t.getString("day_string");
    }
}
